package zl9.com;

/**
 * Created with Intellij IDEA.
 * Description:
 * User:张蕾
 * Date:2023-06-07
 * Time:0:58
 */
public class Test {
    public static void main(String[] args) {
        Jx jx=new Jx();
        jx.setLen(10);
        jx.setWeight(10);
        System.out.println("面积："+jx.getArea());

        Jxjc jxjc=new Jxjc();
        jxjc.setLen(20);
        jxjc.setWeight(30);
        jxjc.setHeight(10);
        System.out.println("体积："+jxjc.getTj());

    }
}
